Skip to content

Conversation

@lmignon
Copy link
Owner

@lmignon lmignon commented Apr 16, 2025

If the two instance define the xreg_name attribute we can assert that once is instance of the other or not. Otherwise call super

@lmignon lmignon force-pushed the master-improve-perf branch 2 times, most recently from 55765f3 to 9620b30 Compare April 16, 2025 13:11
@codecov
Copy link

codecov bot commented Apr 16, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 88.03%. Comparing base (5acf57a) to head (370f34e).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
src/extendable/main.py 55.55% 2 Missing and 2 partials ⚠️
src/extendable/registry.py 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
- Coverage   89.11%   88.03%   -1.08%     
==========================================
  Files           7        7              
  Lines         294      301       +7     
  Branches       68       54      -14     
==========================================
+ Hits          262      265       +3     
- Misses         20       21       +1     
- Partials       12       15       +3     
Flag Coverage Δ
unittests 88.03% <50.00%> (-1.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lmignon lmignon force-pushed the master-improve-perf branch 2 times, most recently from e0253b1 to 6e88ec2 Compare April 16, 2025 13:38
@lmignon lmignon force-pushed the master-improve-perf branch from 6e88ec2 to 370f34e Compare April 16, 2025 15:16
@lmignon lmignon changed the title improve isinstance check perf Fix: Ensure extendable instance is instance of its own class Apr 16, 2025
@lmignon lmignon merged commit 584f21d into master Apr 16, 2025
8 of 10 checks passed
@lmignon lmignon deleted the master-improve-perf branch April 16, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants